<div class="modal fade" id="show_remarks" tabindex="-1" role="dialog" >
    <div class="modal-dialog" role="document">
        <form class="form-ajax" action="?md=shop&cl=shop&at=delorder"
              method="post" autocomplete="off">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="exampleModalLabel">订单备注</h4>
                </div>
                <div class="modal-body">
                    <input type="hidden" id="del_order_id" name="del_order_id"/>
                    <div id="remark">
                    </div>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="submit" class="btn btn-primary">提交</button>
                    <?php include_once MvcReg::$_moduleName . '/views/layout/woody-prompt.php'; ?>
                </div>
            </div>
        </form>
    </div>
</div>
<script>
    $('.showError').click(function () {
        var errorInfo = $(this).attr('id');
        var info = errorInfo.split('-');
        console.log(info[0]);

        var ridersHtml = '骑手备注：'+info[0]+'';
        var shopHtml = '商家备注：'+info[1]+'';
        $("#remark").html(shopHtml+'<br/>'+ridersHtml);
    })
</script>